﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="OfficeAdd.ascx.cs" Inherits="AdminX_Company_OfficeAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>

<div> <uc1:Alert ID="Alert1" runat="server" /></div>
    <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblLanguage" runat ="server"  Width="130px"   CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:DropDownList ID="ddlLanguage" runat="server" CssClass="boxnormal"  AutoPostBack ="true"
            onselectedindexchanged="ddlLanguage_SelectedIndexChanged"  >
    </asp:DropDownList></div>
    <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblCompanyName" runat ="server" Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtCompanyName" runat ="server" CssClass="boxlongest" MaxLength="250" ValidationGroup="Input" ></asp:TextBox><span style="color: #ff3333">*</span>
    </div>
     <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblAddress" runat ="server"  Width="130px" CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtAddress" runat ="server" CssClass="boxlongest" MaxLength="250" ValidationGroup="Input" ></asp:TextBox><span style="color: #ff3333">*</span>
    </div>
      <div style ="padding:5px 0 0px 0 "><asp:Label ID="lblTel" runat ="server"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtTel" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    <asp:Label ID="lblFax" runat ="server" Width="58px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtFax" runat ="server" CssClass="boxnormal"  MaxLength="250"  ></asp:TextBox>
    </div>
     <div style ="padding:5px 0 5px 0 "><asp:Label ID="lblEmail" runat ="server"  Width="130px"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtEmail" runat ="server" CssClass="boxnormal"  MaxLength="250" ValidationGroup="Input" ></asp:TextBox>
 <%--   <asp:Label ID="lblWebsite" runat ="server"  CssClass="text" Font-Bold="true" Font-Size="13px"></asp:Label>
    <asp:TextBox ID="txtWebsite" runat ="server" CssClass="boxlong"  MaxLength="250"  ></asp:TextBox>--%>
    </div>

   

<div>
    <asp:Button ID="btnSave" runat ="server"   Width="80px" 
        OnClick="btnSave_Click" Height="26px" ValidationGroup="Input" /> 
</div>
<asp:RequiredFieldValidator ID="rfvCompanyName" runat="server" SetFocusOnError="true"   ControlToValidate="txtCompanyName" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvAddress" runat="server" SetFocusOnError="true"   ControlToValidate="txtAddress" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator 
            ID="revEmail" 
            runat="server" 
            ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
            ControlToValidate="txtEmail" 
            Display="None" 
            ValidationGroup="Input" 
            SetFocusOnError="True" 
            Text="*">
</asp:RegularExpressionValidator>

<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />